﻿using Microsoft.AspNetCore.Mvc.Rendering;
using WoodAdmin.Models;
using WoodAdmin.Repository;
using System.Collections.Generic;
using System.Linq;

namespace WoodAdmin.Services
{
	public class ConfigService : BaseService<SysConfig>
	{
		public List<SelectListItem> ConfigSelect()
        {
            return Queryable(a => a.ConfigType == "节点类型").Select(a=>new SelectListItem {Text=a.ConfigData,Value=a.ConfigKey }).ToList();
        }
	}
}